package com.jqsoft.service.impl;

import com.jqsoft.dao.VideoMapper;
import com.jqsoft.domain.Video;
import com.jqsoft.service.VideoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class VideoServiceImpl implements VideoService {

    @Resource
    VideoMapper videoMapper;

    @Override
    public Video findById(int videoId) {
        return videoMapper.findById(videoId);
    }
}
